﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcCarConsume.Domain.Entites;

namespace MvcCarConsume.Domain
{
    public interface ICarService
    {
        IList<Entites.Type> Categories { get; }
        IList<Brand> Brands { get; }
        MvcCarConsume.Domain.Entites.Type CategoryWithID(int categoryid);
        IList<Car> CarsWithCurrentCategory(string categoryName);
        Car CarWithID(int id);
        IList<Car> CarsWithCurrentCategoryAndFilter(string categoryName, IList<Func<Car,bool>> filters);
        IList<Car> CarsWithCurrentCategoryAndFilter(int categoryId, IList<Func<Car, bool>> filters);
        IEnumerable<Car> GetShowCars();


    }
}
